﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data.Database;
using Business.Entities;

namespace Negocio
{
    public class ComisionLogic : BusinessLogic
    {
       Data.Database.ComisionAdapter comisiondata;
        public ComisionLogic()
        {
            comisiondata = new Data.Database.ComisionAdapter();
        }
        public List<Comision> GetAll()
        {   
            return comisiondata.GetAll();
        }
        public Comision GetOne(int ID)
        {
            return comisiondata.GetOne(ID);
        }
        public void Save(Business.Entities.Comision AdmUsr)
        {
            comisiondata.Save(AdmUsr);
        }
    }
}